bug fix of work_logs