fix crash simulator for iOS 8.1