fixed indexing error