Fixed issue for iOS 6.1