Fixed indexing issue
Fixed indexing issue