Fix char conversion.