move the sendAllUnis to after all the callbacks are done