Fix for c-mode setting