fixed bug in friends