Fix iOS 7 issue