resolve the emacs startup issue