fixed c/c++ mode