enabled batch mode