bug fix for h2s packets