Fix pvalue_weak