nasty bug: attr error for redundant_var masked by except AttributeError, #1