fixed bug when moving recursive edge