cleanup + pdf links