workaround to fix Xcode infinite indexing bug