add a license, and restore node_reset_