better error message for missing .get