wiping out earlier template