fixed bug in adding friends