Also check if the attributes exist