fix for h5py version