Fix cmp of tokens.