Fix the problem that visiting / will result in 500 error.