fixed file renaming