fixing pdf for 1.8 too