fix l10n bug in viewer