Fixed display bug on history page