fix bug - category view