fix connections, prepare properties for OPC database