minor changes, stopping pruning templates