fixed emacs issues