Remove some unused code, fix typo so BD works

removed, reference eq will work!