better inscription name matching