do not crash on missing key

fixes #25