fix rename of encryption keys