[oscurl]: some bugs fixed