Revert "bctoolbox: fix typos and logic error"