bandit bug fixes