fix read-only minibuffer