Fix prefixUrlsWithBase