minor fix to HDU wrapper