Fixed iOS 7 issue