total_hours division by 0 bug