fix bug of cherrypy router