Fixed the array collection handler