print syntax tree
fix bug