fixes for bulk friend retriever