remove duplicated afr attribute