fix oauth.connection errors