fix the baseurl issue