fix minor in C version