delete on template