modified define-minor-mode to 1