fix index.php bug
need use legel url