fix usage of token