fixing oauth issue