fix time stamps