Fixed a lot of server replication errors