fixing base url