Fixed a bug causing error messages on iOS after a fresh install