Make it not crash on iOS.