fix history page