made lookup_refs lower case