fix va_list issue