Fix viewer config file