end rename when clicking bug fix