reduce iOS 6 warnings