fixed a bug in direct connection algorithm where internal couplings of coupled components were not adjusted