fixed plotting and tiff handling