fix cmd_server