make tiff now works correctly