remove http reference in pdf link generation