hdf5 related modifications