Fixed for iOS7