fix error from renaming of files