Update Router.php

fixing router.