fix for findReferences