fix base url var