fix base url config