fix dist generation