fix reset_server
clean up reset_server command