got rid of iOS 6 warning