do not try to set default value for not selected attributes

/cc @kirs