improve error
fix bug: / by zero. 除0问题