fix a nasty variable that was shadowing the real CurBB but with the wrong value.