minor fix on index