fixed batch-exec