iOS 6 fixes