apply divide fails if results it zero when numerator is not zero