fixed a bug on liber.oauth