fix h5save