kill some of the ugly of the alter-var-root gen macro