remove obsolete objects