fixed ht bug and added njet_b counting