fix some glitches with the export box