fix for ultisnips, and ft for c