refactor, export tokErr