Fixed replication problem after a realignment