fixed Errbit configuration after upgrade
fixed some deprecated errors and secret_token issue