Some minor changes in CCIndex.php