use native emacs function instead custom one