fix a bug on renaming