fixed bugs with adding friends