fix timetable bug