make it work on emacs 23.3.1