Made influxdb work properly (until next problem >_<)