added feature to disable nodes with checkbox