change dist type