pretty printer fix