fix replication task