cleaning up modbus configuration