preparing the replica reinitiation