fixed oauth version issue