remove Attribute code