minor fixes to influxdb plugin