fix buildArg ignore undefined bug