Fix minor mode definition