Fixed baseurl behaviour.