fixing re-use of existing mainframe
mods