bugfix index.php