fixing some things on the history page