fixed the hdf5 interface