Fixed bugs in Replicator box.