removing entities woriking