fixed build in xcode