fix emacs 23 compatibility