fix date on change