Attempt to fix urlGenerator.