fix use of ArrayCollection in setContacts