fix date time reset on load