fetch sh-mode fix