resolves #523 set defaults for attribute-missing & attribute-undefined