ATR fixes

fixing the ATR