don't collapse node with null value after edit