correction bug adns main