fix panel problem.