minor refinement in cpf conversion