Fix XCode warning