correction Atis loop