script run but don't work

The attached script works without errors, but the required work of deleting variables is not being done. Do you have a solution to this problem?

:foreach host in=[/ip hotspot host find where bridge-port="wlan1"] do={
    :local hostIP [/ip hotspot host get $host address];
    /queue simple remove [find where target=$hostIP];
}
/code]

the target IP has /32 at the end… so is not $hostIP but is “$hostIP/32” (with quotes)

Thank you very much. You always provide simple solutions without any complexity. Thank you again