turn off minor mode in minibuffer