nfa cleanup