del of generate ocr statment not batch anymore, adding a setter