make sure bad query responses raise instead of slip through as strings