Solve dist issue.