fix export pdf for pgos true