removing unsed versin of template