add SDKs and fix bug