fixed datetime in history