fix for iOS7 GM version SDK