another attempt at fixing pdf links