fix inbound and outbound associatinos