Repaired getting of token

* token must be string, not array...