fix cpf output