rewrite hunt_server