Remove friend objects. fixed #90