bugfix: eliminate undisposed objects at end of simulation