adapt iOS 8