[DEV] remove function onObjectRemove