Fix bug with setting save keys.