Fix for baseurl to resolve pages correctly