fixed process loop for unprocessable files