is this a typo in the query or in the view?