iOS 7.1 warning fixes