Fixing batch run