[core] minor mod when logging the pvalue