fix char expression