changed some mistake on index