finish batchgetplan createplan