fixed app and index.php