prevent division by zero for auto grading questions