ensure unresolved attribute is removed.