replication bug in IO, using allreduce now