again a fix to allow name_source traits to be undefined for optional outputs