fix died when config.Receiver isn't defined.