fix remove.edge scoping
Merge pull request #511 from mirubenstein/api

fix remove.edge scoping