Added iOS 7 fix