solved string indexing bug, yolo