delete unnecessary template