fixes to sendAll