Fix batch not executing