fix attribute name is ref not red