fix dist script losing str