fix typo
minor C improvement