Minor bug fix in displaying the friends