fixed the oauth issue