Timestamp correction