add some changes for bootstrap and index.php