fix viewer headers