minor fix to HDF5 output