fix double definition of the my-message-mode-hook function