fix how badger receives messages