Fix snippet mode hooking
Fix c snippets