Fix a semantic issue

Xcode fails the build as a semantic issue.