adding fix for pqr with prior during