Fix 2 bugs.
Fix 2 bugs.

scipy/SciPyCentral,scipy/SciPyCentral,ksurya/SciPyCentral,Srisai85/SciPyCentral,scipy/SciPyCentral,wqshi/test,wqshi/test,wqshi/test,Srisai85/SciPyCentral,ksurya/SciPyCentral,ksurya/SciPyCentral,Srisai85/SciPyCentral