Horrendous bug in HDF fixed