prevent raising an exception if passed an unknown key