Fixed iOS 7 warnings