bug fix related to pulling all the ids of friends while edit