fixed bpl and halt conflict