bug fix for baking cookies that include arrays