float division by zero error when version 5