fix another bug in perform_moves bang method