some correction of timestamp