fixed the bug caused by em-unix