add dist
type error.