fixed stupid index stupid stupid