fixes for oauth class issues