Fix completion bug in Xcode