fixed buggy loose btag counting