catch an AttributeError