some fix in AST note, add 3 dim non-terminal