modulo by zero fix