minor fix index