fixing the start time initialization