mode-hook tweaks