#311 - fix removeObject