fixed set-url bug