fix date pasting