Fixes in category.php