fixing token type.