fixed issue with replication lag again