fixed corrupt PDF