fix bug at H cand filling