Fixing problem in view bake template