fixed warnings in xcode project