Temporary fix for iOS 6 crash.