Small fixes for ESP8266