fix specs
fix the batch execution flow