small fixes of SDK