correct complex source for wrong order in edges points