Fix for history page