fix bug h count