fix error in oauth callback controller