Fixing for iOS7