bug fix in category pages