fixing typing error on pyinstaller check