accept objects that has toArray method as a list (e.g. ArrayCollection)
fixed synchronization command