fix bug when BPPARAM missing