fixed destruction in Friend class