division by zero fix; wrong method call fix