Fix bad keys.