default data to array inside handler