Remove an improper division by zero error