improves the query of timesheets
fix cs