bug fix in hf ring unpacker