fixed more LOOKUP_REFS case sensitive