fix routing bug
Merge pull request #397 from pengfei-xue/devel

fix routing bug
reverse pull request 397, it not a bug. Just should this way