added fix for pyinstaller