attempted fix in friendships controller