Fixing an url bug