fix renaming fail