changed little code for common timesheet_form