fixed display issues on history page