Fixed bug: when node is deleted, settings are reseted