fixing duplicate files