fix iOS 6