fixing history page object url to use buildUrl