Fix issue when deserializing a char