fix bug for when no friends are selected