protect against empty array of automators