Fixed nonterminal delete in reset()