fixing the BPPM bug