weird pdf problem fix attempt