fixed bug with several timetables