Fix for iOS7 beta 5