Fix viewer.