fixes to pdf links