fixed errors in YardDist