fix clear_bit argument bugs report by sw