fixed warnings in hdf5 code