fix for emacs24