fix bug of C terminal insertion in cma file