fix an ordering problem in codemac.