fixes the dist task