fixes for DHT11 / DHT22 support