history page fixes