modify class error of c++-mode snippets