fixes for btag