Fixed iOS 7 issues.