Compatibility with IOS 7