klog: check the char* when call strarr_add