bug fixing, now spatial and temporal replication work functionally