Fix bad key string