fixed stupid AGDISTIS error