added function GetActiveAttrib