oops, missing return on KeyError exception