support the dat replication interface
0.4.0
fixed finalization logic
0.5.0