broken index bug