Fix errors in ctod.dd