fix include where clause