fix for timetable display bug