fixed friends to documents in services