corrected the oauth2 module patch