edit badger-mode