fixed getTimetablePeriod returning string