Fix history time