fix distributed files