index: fix duplication issue