fixed missing peace of code in time entry