remove redundant index