fix url bug in client