fix OAuthException redeclaration exception