locking mods so run of machine ok