fix update to iOS 7