Modify for iOS7