fix pretty printer for chars