fixed friendship bug