fixing xcode project bugs