fix not commit bug in sync task