revert code changes cnc