fixed for DHT11 / DHT22 support