deal with bad keys more gracefully
1.8.4