fixing more ktp bugs, the tokenizer now works fine it's just the parser.