fix for emacs 24