Fix api response decode error.