fix replication filter