fix tiff checkout