fixed bugs with timeTable