fixed missing edges bug
Merge commit 'd158e077010112a51d5b65ba105c261895533fe7'