Fix preview problem.