fixed PDF link problem in viewer mode