fix bug initializing start time