cleaning up subnode list