Fix hts library check variable name