Wrong toArray