fixed handling error for processing batch - was not allowing file to get to pass status