Renaming tags fails - program freezes

See if this helps: