closing tag fix for tokenizer
fixed up processing token index parsing
updated tokenizer adding result array