fix bug for : replace index.php