compilation fix  for AST grammar