fixes timestamp