fixed removing of nodes through the structure parser