fixed bug: renaming incomplete