fixed views to use content type