corrected check on which zones were active