handle builder baseurl when it's empty