fix #59, createOffer missing err callback