corrected partial name matching