fixed xcode issue