ACK > Distance on ver. 4.16

I use this script to remove from registration-table Clients with high ACK’s, work’s fine on versions before 4.14, this code can works on a new version 4.16?
its becouse now ACK is changed to distance on wireless advanced?


#Informacoes:
#
#Variavel ack -> deve ter o valor do ack MAXIMO permitido.
#Variavel cut -> deve ser 0 ou 1, 0 somente mostra, 1 mostra e desconecta a estacao.
################################### ##################################
#Configuracoes das variaveis
:local ack 50;
:local cut 0;
######################### Script - NAO ALTERAR ###########################
:local mac "";
:local uack "";
:local removido "";
:log warning ("[ackchk] Procurando clientes com ACK maior que " . $ack);
#pega a lista de interfaces AP wireless ativas, e que tenham ack dinamico
:foreach i in=[ / interface wireless find mode="ap-bridge" ack-timeout="dynamic" running] do={
:local intname [ / interface wireless get $i name ];
:log warning (" Interface: " . $intname);
:foreach x in=[/interface wireless registration-table find interface=$intname] do={
:set uack [/interface wireless registration-table get $x ack-timeout];
:set removido "";
:if ($uack > $ack) do={
:set mac [ / interface wireless registration-table get $x mac-address]; 
:if ($cut = 1) do= {
:set removido " removido...";
/ interface wireless registration-table remove $x;
};
:log warning (" mac: " . $mac . "@" . $intname . " [" . $uack . "]" . $removido);
}; 
};
};
################################## FIM #################################

There is no ack-timeout at 4.16 nv2 wireless package, there is no ack-timeout at v5.x as well.
Distance is used for it.