fix some bug when starting emacs-snapshot