replace categories views with slim
replace types views with slim