fixed route bugs
Merge pull request #5 from huip/master

fixed route bugs