Fixed error in indicies