added fix for empty receivers - thanks Adrien