fixes geometry connected, fixes LongChain