renew key bugfix