removing repeated index section