fixing index bug
yes now