Fixed a bug in the "H" command