long title fix for history page