guard around invalid value conversions
accomodate pyinstaller and kivy quirks