prepare for iOS 8
ios 8 compatible