removed unused entities