fix template for baking.