minor bug fix and SDK build