bugfix: spatial replication mixed up