Fix M-k and M-K setting