fixes for pdftogif function