fix EM.system (cc #322) (closes #413)