Fix path issue with incorrect base url