remove duplicate friend class definition