fix history time display problems