Fixed some bug, OAuth library