fix index.php too