erase unregister instance when starting to crashed