attempt to fix base url