Fix redirec to index.php