Sri | Fixing infinite loop while tokenizing