fix c mode a bit