Fixed a bug with active zone and send_code function compatibility.