fix pval() with extrat return data