fix xcode problem