make examples syntax tree compatible