Fixed broken index