fix bug in finding H candidate