fix emitter that outputted multiple mods