fix dist bug