fix div by zero on no data