[FIX] IndexError: string index out of range