fix check for hl existing