fix C version error