changes from zeromod-tesseract