bugfix and index.php delete