fixed sync batch
Merge pull request #1 from msavazzi/master

fixed sync batch