Making the headers correctly but the longest prefix match just broke