fix iOS 7.0 issues