tesseract selection in controller