Try to fix h5 bug.