fix panic on bad sender