Make sure of not dividing by zero