fixing category view