Fixed bug thrown by attempting ocr on unneeded values
Removed period counter