fix autoset baseUrl from not root location