Fixed warning on iOS 7