fixed router constructor
Merge pull request #34 from shidasan/fix_router

fixed router constructor