add Char case to genExpr