catch float divion by zero error