fixed removing childNodes correctly;