fixed sync bug when chain is created in the same iteration, added nfacct module