Fixed iOS 6.1 warnings