delete template registration