fix: fix condition at ATG configuration handling