fix to tiff2pdf (warning removal)