fix template for c.