Fixed bug in index.php front controller