remove some code added by emacs self