Fixed for iOS 6