final fix for matching private tags