fix hdf