mode change after renaming