compatibility issue with emacs 23