fixed: $index