Fixed runtime error on load sdk