debug type problems with iterator class
partial debug. remove is not working