fixing parse tree to syntax tree transofmrations