fix start/end time after storage