fix typo that was causing PDF to show on every page