Solve perfomance problem.