fixed bug in IDF.removeidfobject()