prevented folding division by zero