fixes the category page