fix for iOS7