change Query.Where to Query.where