fix for token cursor creation
Merge pull request #255 from rstudio/bugfix/token-cursor-create

fix for token cursor creation