bug fix: loading tiff data with 3 dimensions