rename template wrapper to template