fix fromAst not passing ast to transform