fixed T_BPP checking