Remove unneded index