fixes a bug with empty recipients