Fix xcode warnings