removes baseurl from config