Before changing nonTerminalCheck