fixed the exporter
loop were the problem
now checking both ends of the edge
fixes #5