fix the emacs tmp file error