fix error on emacs23