fixed token getter.