Fix the workstarttime bug