fix for routing bug
Merge pull request #10 from mbresson/master

fix for routing bug