Fixed problem with renaming when license expired