added support for disabling nodes