fix generic url