fixed bug in gcd_truth.py