fixed friend bug
fixed bugs