fixed an issue with p values being overestimated