fix regression, allow desiredAttrs == undefined