removes index