fixing project for iOS 7