deleted extra copy of template