Udated indexing error in shit