machine setting, cleanup