fix error of use va_list twice