Fixed for iOS 7