Fix the issue of the view state configuration.