restore timestamp cmp