upgrade/converter: now we could get top ast by `handler.env.ast`