bug fixes in config for BNB