add preview in problem page