Fixing warning under iOS 7