deal with iOS7