removed iOS 7 depricated macro