crashes caused by missing name in <attribute> tag