Fixes baseurl problem