Fixed iOS 7.0 warnings