Fix char type was not properly escaped