Fixed bug with htThreshold. Now working correctly
Fixed bug with htThreshold