little fix on index