fix the matching logic in the script name cache