do friendlist and grouplist iterations properly