there's a simple solution: Don't use MED. Or any other included editors. They're basicaly ... crap!