fix query to grab content types