fixing base url issue