fixed bug of passing through user clicked on in friends list