fixup for main conversion