removing redundant item in index