fixed race condition in edge mapping forward.