fix: wrong check for p-violation