fixing the dist line.