cleaned up deindex