zone: modify zonedetected func