* fix a bug for batchcreate task.