fixes the token parser(delimitered)