remove characters from returend token

Remove characters from returend token in snapshotToPrefs.