Fixed BATCH Crashes