Removed debug code from history page