adding some security for divided by zero to fix crash when launching app while in airplane mode