minor improvements to bake and bake-pan