fix tiff lookup