fix token type