Solve the header bug in index.php