removed non terminals from ast