fix baseurl problems