fixed index.c
fixed index.c