fixed bug in oauth library