Bug/11 hide irrelevant attributes on error