fixes friends histogram

I have no idea why it does not work right after building the friends list. Queue finish does not help either...