fix history display