attempt to handle division by zero