fixing buddy list functionality