refactor a HpStatus