fix iOS 7 warning