correction in replication system and replicating inventory