fixing indexed.