fixed the serializer for friends