Minor adjust the logic of va_list usaging.